package com.chenchao.javaoop;

/**
 * @encoding : UTF-8
 * @Time : 2020/11/9 13:29
 * @Author : Chen Chao
 * @File : javaSE.com.chenchao.javaoop.Student.java
 * @Software : IntelliJ IDEA
 * @since : 1.8
 */
public class Student extends Person{
    public Student() {
        super();
    }

    public Student(String name, int age) {
        super(name, age);
    }

    public void study(){
        System.out.println(this.getAge()+"在学习");
    }
}
